#!/bin/bash
#--fun
get_pwd(){
	osv='/'
	nf_v=$(echo $0 | awk -F $osv '{print NF}')
	pwd=$(echo $0 | awk -F $osv '{print $1}')${osv}
	n_v=2
	while [ "$n_v" -ne "$nf_v" ]
	do
		temp_v=$(echo $0 | awk -F $osv '{print $('$n_v')}')
		pwd="${pwd}${temp_v}/"
		let n_v++
	done
}
#---main
get_pwd
cd "$pwd"
pwd
xgettext -d em    svn_merge.sh
echo "please modify em.po file and press Enter continue"
read io
msgfmt -o ./locale/zh_CN/LC_MESSAGES/svn_merge.mo   em.po  




